Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing Triangles


Q3Triangle_SetData

You can use the Q3Triangle_SetData function to set the data that defines a triangle and its attributes.

TQ3Status Q3Triangle_SetData (
TQ3GeometryObject triangle, 
const TQ3TriangleData *triangleData);
triangle
A triangle.
triangleData
A pointer to a TQ3TriangleData structure.
DESCRIPTION
The Q3Triangle_SetData function sets the data associated with the triangle specified by the triangle parameter to the data specified by the triangleData parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996